package capitulo2;

public class Vehicle {
	
	private String make;
	private int numWheels;
	
	public String getMake() {
		return make;
	}
	public boolean setMake(String newMake) {
		if (newMake.length() > 0 ){
			make = newMake;
			return true;
		} else {
			return false;
		}
	}
	
	public int getNumWheels() {
		return numWheels;
	}
	
	public boolean setNumWheels(int count) {
		if (count > 0 && count < 20){
			numWheels = count;
			return true;
		} else {
			return false;
		}
	}
	
}
